package com.gzhryc.shared_device.oem.h5.agent.dto.api.v1.team;

import com.gzhryc.common.api.SecurityResponse;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class ClerkUserListResponse extends SecurityResponse<ClerkUserListResponse.Body> {

	private static final long serialVersionUID = 1L;

	public ClerkUserListResponse() {
		this.body = new Body();
	}

	public ClerkUserListResponse(Integer code, String msg) {
		super(code,msg);
		this.body = new Body();
	}

	public static class Body implements Serializable {

		private static final long serialVersionUID = 1L;
		
		public List<Item> items;

		public List<Item> getItems() {
			return items;
		}

		public void setItems(List<Item> items) {
			this.items = items;
		}
	}

	public static class Item {

		private Long userId;
		private String userName;
		private String userPhone;
		private String note;
		private Date lastLoginDate;
		private Date createDate;
		private Integer placeCount;

		public Long getUserId() {
			return userId;
		}

		public void setUserId(Long userId) {
			this.userId = userId;
		}

		public String getUserName() {
			return userName;
		}

		public void setUserName(String userName) {
			this.userName = userName;
		}

		public String getUserPhone() {
			return userPhone;
		}

		public void setUserPhone(String userPhone) {
			this.userPhone = userPhone;
		}
		
		public String getNote() {
			return note;
		}

		public void setNote(String note) {
			this.note = note;
		}

		public Date getLastLoginDate() {
			return lastLoginDate;
		}

		public void setLastLoginDate(Date lastLoginDate) {
			this.lastLoginDate = lastLoginDate;
		}

		public Date getCreateDate() {
			return createDate;
		}

		public void setCreateDate(Date createDate) {
			this.createDate = createDate;
		}

		public Integer getPlaceCount() {
			return placeCount;
		}

		public void setPlaceCount(Integer placeCount) {
			this.placeCount = placeCount;
		}
	}

}
